﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaymentReportList.aspx.cs" Inherits="PayRoller.Manage.Reports.PaymentReportList" %>
<%@ Register Assembly="Huayou.Common" Namespace="Huayou.UI.WebControls" TagPrefix="cc1" %>
<%@ Register Src="../../Include/UOrgNameInput.ascx" TagName="UOrgNameInput" TagPrefix="uc1" %>
<%@ Register src="../../UControls/DDLInvoiceStatus.ascx" tagname="DDLInvoiceStatus" tagprefix="uc2" %>
<%@ Register src="../../UControls/TXTFormatDate.ascx" tagname="TXTFormatDate" tagprefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="../css.css" type="text/css" rel="stylesheet">
    <script language="javascript" src="../../js/jslib.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" class="NormalText">
        <tr>
            <td style="height: 40px" class="HeadText">
                Payment report
            </td>
        </tr>
        <tr>
            <td>
                <table width="100%" border="0" cellspacing="1" cellpadding="1" id="TABLE1" onclick="return TABLE1_onclick()">
                    <tr>
                        <td width="12%" height="22">
                            Employee Name:
                        </td>
                        <td>
                            <asp:TextBox ID="txtEmployeeName" runat="server"></asp:TextBox>
                        </td>
                        <td width="15%">
                            Client Name:
                        </td>
                        <td>
                            <uc1:UOrgNameInput ID="UOrgNameInput" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Payment Date:
                        </td>
                        <td>
                        
                            <uc3:TXTFormatDate ID="txtFromDate" runat="server" />
                        </td>
                        <td>
                            to
                        </td>
                        <td><uc3:TXTFormatDate ID="txtToDate" runat="server" />
&nbsp;&nbsp;
                            <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="submitBtn" OnClick="btnSearch_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="right"><asp:Literal ID="litDisplay" runat="server"></asp:Literal></td>
        </tr>
        <tr>
            <td height="22">
                <cc1:DataGridTable CellPadding="1" CellSpacing="1" BackColor="#CCCCCC" Width="100%"
                    ID="dgdList" runat="server" BorderWidth="0px" BorderStyle="None" IsAllowPaging="True"
                    PageSize="12" OnDataBinding="dgdList_DataBinding" OnPageIndexChanged="dgdList_PageIndexChanged"
                    AutoGenerateColumns="False" CssClass="tableGrid" MaxRecord="0" PageCSS="scrollButton"
                    AllowPaging="True" DataKeyField="Sid" OnItemDataBound="dgdList_ItemDataBound">
                    <PagerStyle CssClass="gridPager" BackColor="White" />
                    <SelectedItemStyle CssClass="gridSelectedItem" />
                    <ItemStyle Height="25px" CssClass="gridItem" BackColor="White"></ItemStyle>
                    <HeaderStyle Height="22px" CssClass="right-ta-ti01" Font-Bold="True"></HeaderStyle>
                    <AlternatingItemStyle CssClass="gridAltItem" />
                    <FooterStyle CssClass="gridFooter" BackColor="White" />
                    <EditItemStyle CssClass="gridEditItem" />
                    
                    <Columns>
                        <asp:TemplateColumn HeaderText="OurRefID">
                            <ItemTemplate>
                                <asp:HyperLink ID="hlOurRefID" runat="server"></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Client Name">
                            <ItemTemplate>
                                <asp:HyperLink ID="hlClientName" runat="server"></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Employee Name">
                            <ItemTemplate>
                                <asp:Label ID="hlEmployeeName" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Date Of Payment">
                            <ItemTemplate>
                                <asp:Label ID="hlDateOfPayment" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Balance">
                            <ItemTemplate>
                                <asp:Label ID="hlBalance" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateColumn>
                       
                    </Columns>
                </cc1:DataGridTable>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:TextBox ID="txtParamstr" runat="server" Visible="False" Width="48px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Label ID="lblTip" runat="server"></asp:Label>
                &nbsp;&nbsp; <a href="#" onclick="history.go(-1);">Return</a>&nbsp;
                
            </td>
        </tr>
    </table>
    </form>
</body>
</html>

